package com.lagou.lagouserviceuser.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Authther: mrwu
 * @date:2021/4/14-04
 * @Description:com.lagou.lagouserviceuser.service
 */
@FeignClient(value = "code-service")
public interface CodeService {
    @GetMapping("/code/validate")
    boolean isvalidate(@RequestParam("code") String code, @RequestParam("email")String email);
}
